package com.shopcart.domain;
import javax.persistence.Entity;


import javax.persistence.Id;

import javax.persistence.Table;

import javax.persistence.Column;

import java.math.BigDecimal;
import java.util.Date;


@Entity
@Table(name="s_store_goods")
public class StoreGoods {

	@Id
	private String id;
	@Column(name="name")
	private String name;
	@Column(name="store_id")
	private String storeId;
	@Column(name="img")
	private String img;
	@Column(name="imgs")
	private String imgs;
	@Column(name="total")
	private Integer total;
	@Column(name="type")
	private Integer type;
	@Column(name="old_price")
	private BigDecimal oldPrice;
	@Column(name="now_price")
	private BigDecimal nowPrice;
	@Column(name="cate_code")
	private String cateCode;
	@Column(name="tags")
	private String tags;
	@Column(name="goods_content")
	private String goodsContent;
	@Column(name="before_buy")
	private String beforeBuy;
	@Column(name="is_recommend")
	private Integer isRecommend;
	@Column(name="is_top")
	private Integer isTop;
	@Column(name="sell_base")
	private Integer sellBase;
	@Column(name="sort")
	private Integer sort;
	@Column(name="is_del")
	private Integer isDel;
	@Column(name="is_online")
	private Integer isOnline;
	@Column(name="mode")
	private Integer mode;
	@Column(name="create_time")
	private Date createTime;


	public String getId(){
		return id;
	}
	public void setId(String id){
		this.id = id;
	}
	public String getName(){
		return name;
	}
	public void setName(String name){
		this.name = name;
	}
	public String getStoreId(){
		return storeId;
	}
	public void setStoreId(String storeId){
		this.storeId = storeId;
	}
	public String getImg(){
		return img;
	}
	public void setImg(String img){
		this.img = img;
	}
	public String getImgs(){
		return imgs;
	}
	public void setImgs(String imgs){
		this.imgs = imgs;
	}
	public Integer getTotal(){
		return total;
	}
	public void setTotal(Integer total){
		this.total = total;
	}
	public Integer getType(){
		return type;
	}
	public void setType(Integer type){
		this.type = type;
	}
	public BigDecimal getOldPrice(){
		return oldPrice;
	}
	public void setOldPrice(BigDecimal oldPrice){
		this.oldPrice = oldPrice;
	}
	public BigDecimal getNowPrice(){
		return nowPrice;
	}
	public void setNowPrice(BigDecimal nowPrice){
		this.nowPrice = nowPrice;
	}
	public String getCateCode(){
		return cateCode;
	}
	public void setCateCode(String cateCode){
		this.cateCode = cateCode;
	}
	public String getTags(){
		return tags;
	}
	public void setTags(String tags){
		this.tags = tags;
	}
	public String getGoodsContent(){
		return goodsContent;
	}
	public void setGoodsContent(String goodsContent){
		this.goodsContent = goodsContent;
	}
	public String getBeforeBuy(){
		return beforeBuy;
	}
	public void setBeforeBuy(String beforeBuy){
		this.beforeBuy = beforeBuy;
	}
	public Integer getIsRecommend(){
		return isRecommend;
	}
	public void setIsRecommend(Integer isRecommend){
		this.isRecommend = isRecommend;
	}
	public Integer getIsTop(){
		return isTop;
	}
	public void setIsTop(Integer isTop){
		this.isTop = isTop;
	}
	public Integer getSellBase(){
		return sellBase;
	}
	public void setSellBase(Integer sellBase){
		this.sellBase = sellBase;
	}
	public Integer getSort(){
		return sort;
	}
	public void setSort(Integer sort){
		this.sort = sort;
	}
	public Integer getIsDel(){
		return isDel;
	}
	public void setIsDel(Integer isDel){
		this.isDel = isDel;
	}
	public Integer getIsOnline(){
		return isOnline;
	}
	public void setIsOnline(Integer isOnline){
		this.isOnline = isOnline;
	}
	public Integer getMode(){
		return mode;
	}
	public void setMode(Integer mode){
		this.mode = mode;
	}
	public Date getCreateTime(){
		return createTime;
	}
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}

	
}
